package edu.lmu.cs.dhara.roflkode.entities;

import edu.lmu.cs.dhara.util.Log;

/**
 * A Roflkode assignment statement.
 */
public class ModifiedStatement extends Statement {

    private Modifier modifier;
    private Statement simpleStatement;

    /**
     * Creates a Modified Statement.
     */
    public ModifiedStatement(Modifier modifier, Statement simpleStatement) {
        this.modifier = modifier;
        this.simpleStatement = simpleStatement;
    }

    /**
     * Returns the modifier of the Modified Statement.
     */
    public Modifier getModifier() {
        return modifier;
    }

    /**
     * Returns the simpleStatement of the Modified Statement.
     */
    public Statement getSimpleStatement() {
        return simpleStatement;
    }
    
    public void analyze(Log log, SymbolTable table, Function f, boolean inLoop) {
//      for (Case c: cases) {
//          c.analyze(log, table, f, inLoop);
//      }
  }
}
